package com.orangecy.rulesubscribe;

import com.orangecy.common.result.PlainResult;
import com.orangecy.rulesubscribe.define.RuleActuatorDTO;
import lombok.Data;

import java.util.List;

/**
 * @Author : orangeCy.奕
 * @Product : 猎豹养成产品源码
 * @Time : 2021/10/22
 * @Desc : 抽象编排结果定义
 */
@Data
public class RuleEngineResult extends PlainResult<RuleEngineResult> {

    /**
     * 订阅者code
     */
    private String subscriberCode;
    /**
     * 订阅者名称
     */
    private String subscriberName;

    /**
     * 标记此subscriberCode在编排中穿过的规则
     */
    private List<RuleActuatorDTO> crossOverRules;

    /**
     * 是否全部通过
     */
    private Boolean ruleIsAllPass;
    /**
     * 失败原因
     */
    private String ruleFailMsg;

    // 。。可能还有 等待实现
}